package com.zcxy360.sandtable.domain;

import java.util.List;

import org.apache.ibatis.annotations.Param;

//@Mapper
public interface UserMapper {

//	
	List<User> listWithExtra(@Param("user") User user,@Param("key") String key,@Param("orderByClause") String orderByClause);
	int insertBatch(List<User> users);
	int deleteBatch(int[] userIds);
	List<User> listByPhones(List<String> phones);
	User selectLegalPerson(Integer orgId);
//
	
    long countByExample(UserExample example);

    int deleteByExample(UserExample example);

    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    User selectByPrimaryKey(Integer userId);

    int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);

    int updateByExample(@Param("record") User record, @Param("example") UserExample example);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}